package cn.ctyun.ipush.service;

import cn.ctyun.ipush.model.ExcelModel;
import cn.ctyun.ipush.model.PictureModel;
import cn.ctyun.ipush.vo.ExcelVo;
import cn.ctyun.ipush.vo.PictureVo;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: user
 * Date: 16-7-4
 * Time: 上午10:50
 * To change this template use File | Settings | File Templates.
 */
public interface PictureService {

    public void save(PictureVo pictureVo);
    public String save(PictureModel pictureModel);

    public int delete(String pictureId);

    public int update(PictureVo pictureVo);
    public int update(PictureModel pictureModel);
    // public int update(DataSourceModel dataSourceModel);

    public PictureVo querySingleResultVo(String pictureId);
    public PictureModel querySingleResult(String pictureId);
    public List<PictureModel> queryList(PictureModel pictureModel);
    public List<PictureVo>  queryListVo(PictureVo pictureVo);

    // public boolean update(String taskGroupName, String taskName, String cronExpression);

    boolean isExist(PictureVo pictureVo);

    List<PictureVo> queryAll();

    List<PictureVo> queryListVoByPage(PictureVo pictureVo);

}
